package com.zhiyou100.service;


import java.util.List;

import com.github.pagehelper.PageInfo;
import com.zhiyou100.model.Vi;
import com.zhiyou100.model.Video;

public interface VideoService {
//	public PageInfo<Video> selectVideos(Integer course_id);
	public Video selectVideo(Integer id);

	public List<Video> selectVideoAll();
	
	public Video selectVideoOnly(Integer id);
	
	public PageInfo<Vi> selectVideoAllAdmin(Integer pageNum,Integer pageSize);
	
	public PageInfo<Video> selectVideoAllAdmin1(Integer pageNum,Integer pageSize);
	
	public PageInfo<Vi> selectByContent(Integer pageNum,Integer pageSize,Video video);
	
	public PageInfo<Video> selectByContent1(Integer pageNum,Integer pageSize,Video video);

	public int update(Video video);

	public int addVideo(Video video);

	public int deleteVideo(Integer id);
	
	public int updateVideo_play_times(Video video);
}


